package com.example.touchimageview;

import android.app.Activity;
import android.os.Bundle;

public class TouchImageViewActivity extends Activity{

	 @Override  
	    public void onCreate(Bundle savedInstanceState) {  
	        super.onCreate(savedInstanceState);  
	        setContentView(R.layout.main);  
	        TouchImageView img = (TouchImageView) findViewById(R.id.snoop);  
	        img.setImageResource(R.drawable.leaf);  
	        img.setMaxZoom(4f);  
	    }  
}
